package com.atguigu.lease.common.minio;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Ruchan
 * @title MinioProperties
 * @date 2024/10/31 16:46
 * @description 
 */
@ConfigurationProperties(prefix = "minio")
@Component
@Data
public class MinioProperties {
    private String endpoint;
    @Value("access-key")
    private String accessKey;
    @Value("secret-key")
    private String secretKey;
    @Value("bucket-name")
    private String bucketName;
}
